package com.example.demo.entity;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {
    private Integer userId;

    private String userPhoneNum;

    private String userPassword;

    private String userName;

    private String userMail;

    private Integer userQq;

    private String userCompany;

    private String userActivity;

    private Integer userStars;

    private Integer userFollowers;

    private Date userLoginDate;

    private String userIntroduce;

    private Date userBirthday;

    private Integer userWatches;

    private String userGender;

    private static final long serialVersionUID = 1L;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserPhoneNum() {
        return userPhoneNum;
    }

    public void setUserPhoneNum(String userPhoneNum) {
        this.userPhoneNum = userPhoneNum == null ? null : userPhoneNum.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserMail() {
        return userMail;
    }

    public void setUserMail(String userMail) {
        this.userMail = userMail == null ? null : userMail.trim();
    }

    public Integer getUserQq() {
        return userQq;
    }

    public void setUserQq(Integer userQq) {
        this.userQq = userQq;
    }

    public String getUserCompany() {
        return userCompany;
    }

    public void setUserCompany(String userCompany) {
        this.userCompany = userCompany == null ? null : userCompany.trim();
    }

    public String getUserActivity() {
        return userActivity;
    }

    public void setUserActivity(String userActivity) {
        this.userActivity = userActivity == null ? null : userActivity.trim();
    }

    public Integer getUserStars() {
        return userStars;
    }

    public void setUserStars(Integer userStars) {
        this.userStars = userStars;
    }

    public Integer getUserFollowers() {
        return userFollowers;
    }

    public void setUserFollowers(Integer userFollowers) {
        this.userFollowers = userFollowers;
    }

    public Date getUserLoginDate() {
        return userLoginDate;
    }

    public void setUserLoginDate(Date userLoginDate) {
        this.userLoginDate = userLoginDate;
    }

    public String getUserIntroduce() {
        return userIntroduce;
    }

    public void setUserIntroduce(String userIntroduce) {
        this.userIntroduce = userIntroduce == null ? null : userIntroduce.trim();
    }

    public Date getUserBirthday() {
        return userBirthday;
    }

    public void setUserBirthday(Date userBirthday) {
        this.userBirthday = userBirthday;
    }

    public Integer getUserWatches() {
        return userWatches;
    }

    public void setUserWatches(Integer userWatches) {
        this.userWatches = userWatches;
    }

    public String getUserGender() {
        return userGender;
    }

    public void setUserGender(String userGender) {
        this.userGender = userGender == null ? null : userGender.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", userId=").append(userId);
        sb.append(", userPhoneNum=").append(userPhoneNum);
        sb.append(", userPassword=").append(userPassword);
        sb.append(", userName=").append(userName);
        sb.append(", userMail=").append(userMail);
        sb.append(", userQq=").append(userQq);
        sb.append(", userCompany=").append(userCompany);
        sb.append(", userActivity=").append(userActivity);
        sb.append(", userStars=").append(userStars);
        sb.append(", userFollowers=").append(userFollowers);
        sb.append(", userLoginDate=").append(userLoginDate);
        sb.append(", userIntroduce=").append(userIntroduce);
        sb.append(", userBirthday=").append(userBirthday);
        sb.append(", userWatches=").append(userWatches);
        sb.append(", userGender=").append(userGender);
        sb.append("]");
        return sb.toString();
    }
}